package com.fqxiny.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fqxiny.lease.model.entity.RoomPaymentType;
import com.fqxiny.lease.web.admin.service.RoomPaymentTypeService;
import com.fqxiny.lease.web.admin.mapper.RoomPaymentTypeMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.lang.annotation.Retention;
import java.util.List;

/**
* @author 25312
* @description 针对表【room_payment_type(房间&支付方式关联表)】的数据库操作Service实现
* @createDate 2025-03-25 19:55:24
*/
@Service
public class RoomPaymentTypeServiceImpl extends ServiceImpl<RoomPaymentTypeMapper, RoomPaymentType>
    implements RoomPaymentTypeService{
    @Resource
    private RoomPaymentTypeMapper roomPaymentTypeMapper;
    @Override
    public List<Long> listByRoomId(Long id) {
        return roomPaymentTypeMapper.listByRoomId(id);
    }
}




